#include <iostream>
#include <string>

using namespace std;

class phone {
	public:
		string pname;
		int id;

		phone(string input_pname, int input_id): pname(input_pname), id(input_id) {

		}
};

class person {
	public:
		string name;
		phone my_phone;

		person(string input_name, string input_pname, int input_id): name(input_name), my_phone(input_pname, input_id) {

		}
};

void test1() {
	person p1("1", "11", 1);

	cout << p1.name << endl;
	cout << p1.my_phone.pname << endl;
	cout << p1.my_phone.id << endl;
}

int main() {

	test1();

	return 0;
}